import { defineStore } from "pinia";
import { ref } from 'vue';

export let useUserStore = defineStore("user",
()=>{
    let loginname = ref("");
    let userid = ref("");
    let token = ref("");
    return { loginname, token, userid }
},
{
    persist:true
}
);